FROM tomcat:jdk8-openjdk

EXPOSE 8080

ENV WRA_ROOT_DIR="out/war"
ENV APPLICATION_NAME="test.war"

# workspace /usr/local/tomcat

# copy to webapps
COPY ${WRA_ROOT_DIR}/${APPLICATION_NAME} webapps/${APPLICATION_NAME}